std::swap(std::deque)

From Cppreference

Jump to: navigation, search
template< class T, class Allocator >
void swap( deque<T,Allocator> &lhs, deque<T,Allocator> &rhs);

Swaps the contents of lhs and rhs. Calls ​lhs.swap(rhs).

Contents

Parameters

lhs, rhs - containers whose contents to swap

Return value

(none)

Complexity

See also

swap
swaps the contents
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages